package com.zheng.umbrella.dao.mapper;

import com.zheng.umbrella.dao.model.UmbrellaHardwareBatch;
import com.zheng.umbrella.dao.model.UmbrellaHardwareBatchExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UmbrellaHardwareBatchMapper {
    long countByExample(UmbrellaHardwareBatchExample example);

    int deleteByExample(UmbrellaHardwareBatchExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(UmbrellaHardwareBatch record);

    int insertSelective(UmbrellaHardwareBatch record);

    List<UmbrellaHardwareBatch> selectByExample(UmbrellaHardwareBatchExample example);

    UmbrellaHardwareBatch selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") UmbrellaHardwareBatch record, @Param("example") UmbrellaHardwareBatchExample example);

    int updateByExample(@Param("record") UmbrellaHardwareBatch record, @Param("example") UmbrellaHardwareBatchExample example);

    int updateByPrimaryKeySelective(UmbrellaHardwareBatch record);

    int updateByPrimaryKey(UmbrellaHardwareBatch record);
}